package dfbz.homework1;

public class test06 {
    public static void main(String[] args) {
        printx(10,10);
    }
    public static void printx(int a,int b){
        int max = 10;
        for (int i = 0; i <= a; i++) {
            for (int j = 0; j <= b; j++) {
                if (j == i || j == (max - i)) {
                    System.out.print("O");
                } else {
                    System.out.print("☆");
                }
            }
            System.out.println();
        }
    }
}
